package com.hyopt.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * TODO app端手机登录表单
 *
 * @author crazypenguin
 * @version 1.0.0
 * @createdate 2019/1/2
 */
@ApiModel(value = "登录表单")
@Data
public class LoginForm {
    @ApiModelProperty(value = "用户名")
    @NotBlank(message="用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

    @ApiModelProperty(value = "token")
    @NotBlank
    private String Token;

}
